namespace = cr_papacy

# Keeps CR Papal heads inside the intended age band without rewriting the
# hardcoded papal_succession engine.
character_event = {
	id = cr_papacy.1
	hide_window = yes
	is_triggered_only = yes
	only_rulers = yes

	trigger = {
		is_adult = yes
		practical_age >= 50
		OR = {
			has_landed_title = k_papal_state
			has_landed_title = d_fraticelli
		}
		current_heir = {
			is_adult = yes
			NOT = { practical_age >= 50 }
		}
	}

	immediate = {
		abdicate = { move = no }
	}
}
